package com.share.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share.admin.model.db.Menu;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author author
 * @since 2022-09-22
 */
public interface MenuMapper extends BaseMapper<Menu> {
    Set<Menu> selectMenuByUserIdAndNodeType(Map<String, Object> map);

    Set<Menu> listMenuByMenuPidAndUserId(Map<String, Object> map);

    Set<Menu> listByRoleId(Long roleId);
}
